<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/details/linuxSerial.hpp 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_ae5bdaf1b45f3c0e6fd5dd3984d2eafd.html">details</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">linuxSerial.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d2/dd8/linux_serial_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#ifndef __LINUX_SERIAL_HPP__</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#define __LINUX_SERIAL_HPP__</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#include &lt;thread&gt;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">#include &lt;mutex&gt;</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="preprocessor">#include &lt;atomic&gt;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#include &quot;<a class="code" href="../../df/d05/timer_8hpp.html">timer.hpp</a>&quot;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#include &quot;<a class="code" href="../../d3/d9d/iserial_8hpp.html">iserial.hpp</a>&quot;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../df/d8d/namespacewheels.html">wheels</a>{</div>
<div class="foldopen" id="foldopen00023" data-start="{" data-end="};">
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="../../de/d23/classwheels_1_1linux_serial.html">   23</a></span><span class="keyword">class </span><a class="code hl_class" href="../../de/d23/classwheels_1_1linux_serial.html">linuxSerial</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../d2/da4/classwheels_1_1i_serial.html">iSerial</a></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>{</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>    <span class="keywordtype">int</span>             m_fd;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>    std::string     m_name;         <span class="comment">// 串口名称</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>    <span class="keywordtype">int</span>             m_baud;         <span class="comment">// 波特率</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    <span class="keywordtype">int</span>             m_char_len;     <span class="comment">// 字符长度</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>    <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a5e585bb076d6a01c8c9cdab92e20c5ac">stop</a>            m_stop;         <span class="comment">// 停止位</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>    <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ab1661c3535b0ca7149121b8b00dddca0">parity</a>          m_parity;       <span class="comment">// 校验位</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>    <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a86e499ffc36867fed86449541837b295">flow</a>            m_flow;         <span class="comment">// 流控</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>    std::atomic&lt;err_code&gt;        m_error;        <span class="comment">// 错误编号</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>    std::atomic&lt;bool&gt;            m_is_open;      <span class="comment">// 当前状态</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>    std::atomic&lt; int &gt;           m_is_run;       <span class="comment">// 0，就绪；1 运行；2等待停止；3 停止；4 关闭</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>    std::atomic&lt;size_t &gt;         m_buff_size;    <span class="comment">// 缓冲区大小</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>    std::mutex                   m_mutex;        <span class="comment">//</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>    <span class="comment">/*</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span><span class="comment">     * 接收数据的回调函数定义：</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="comment">     *</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="comment">     *  void fun( size_t len , const char* data , err_code err );</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="comment">     *  参数：</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span><span class="comment">     *    len , 接收到的数据长度</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="comment">     *    data ， 接收到的数据缓冲指针</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="comment">     *    err , 操作错误代码，成功操作为OK ，否则为错误代码</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span><span class="comment">     */</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>    std::function&lt; void (<span class="keywordtype">size_t</span> , <span class="keyword">const</span> <span class="keywordtype">char</span>* , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a>)&gt; on_recv;   <span class="comment">// 接收到数据后回调</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>    <span class="comment">/*</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span><span class="comment">     * 发送完成回调函数定义：</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span><span class="comment">     */</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>    std::function&lt; void (<span class="keywordtype">size_t</span> , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a> )             &gt; on_send;   <span class="comment">// 发送操作回调函数</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>    <span class="comment">/*</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span><span class="comment">     * 串口打开回调函数定义：</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span><span class="comment">     *</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span><span class="comment">     */</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>    std::function&lt; void (<a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a>)                       &gt; on_open;   <span class="comment">// 响应打开串口操作</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>    <span class="comment">/*</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span><span class="comment">     * 串口关闭回调函数定义：</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span><span class="comment">     */</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>    std::function&lt; void (<a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a>)                       &gt; on_close;  <span class="comment">// 响应关闭操作</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>    <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a697fb4aa40e1b97ce273cdc56e3fdf3f">linuxSerial</a>( <span class="keyword">const</span> std::string&amp; name );</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>    <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a697fb4aa40e1b97ce273cdc56e3fdf3f">linuxSerial</a>( <span class="keyword">const</span> std::string&amp; name ,</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>        <span class="keywordtype">int</span> baud ,</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>        <span class="keywordtype">int</span> char_len ,</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>        <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a5e585bb076d6a01c8c9cdab92e20c5ac">stop</a> s ,</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>        <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ab1661c3535b0ca7149121b8b00dddca0">parity</a> p ,</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>        <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a86e499ffc36867fed86449541837b295">flow</a> f</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span>        );</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>    <span class="keyword">virtual</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#aaa6af0628c178e3e93f502c048a1dafb">~linuxSerial</a>();</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="../../de/d23/classwheels_1_1linux_serial.html#a9094b478b3581e0b04a163650ad2835d">   97</a></span>    <span class="keywordtype">int</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a9094b478b3581e0b04a163650ad2835d">nativeHandle</a>(){ <span class="keywordflow">return</span> m_fd; }</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    <span class="keyword">virtual</span> <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#ae1eda65d5555203a3c5efbdf7c025b57">open</a>( <span class="keywordtype">int</span> baud , <span class="keywordtype">int</span> char_len , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a5e585bb076d6a01c8c9cdab92e20c5ac">stop</a> s , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ab1661c3535b0ca7149121b8b00dddca0">parity</a> p , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a86e499ffc36867fed86449541837b295">flow</a> f )<span class="keyword">final</span>;</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>    <span class="keyword">virtual</span> <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#ae7aa105c917d919cda8239f2bc0b064c">close</a>()final;</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>    virtual <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#ae173022d0f2cec8917b6ef9ed6b3ed31">send</a>( <span class="keywordtype">size_t</span> len , const <span class="keywordtype">char</span>* data )final;</div>
<div class="foldopen" id="foldopen00119" data-start="{" data-end="}">
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="../../de/d23/classwheels_1_1linux_serial.html#ae21be7510349d6d422b101cdc7c6f536">  119</a></span>    virtual <a class="code hl_class" href="../../d2/da4/classwheels_1_1i_serial.html">iSerial</a>&amp; <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#ae21be7510349d6d422b101cdc7c6f536">evtOpen</a>(  <a class="code hl_namespace" href="../../d8/dcc/namespacestd.html">std</a>::function&lt; <span class="keywordtype">void</span> (<a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a>)&gt; fun )final</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>    {</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>        on_open = fun;</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>        <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>    }</div>
</div>
<div class="foldopen" id="foldopen00124" data-start="{" data-end="}">
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="../../de/d23/classwheels_1_1linux_serial.html#aaec1476e75dc8e7f9639bd4fa93ec34c">  124</a></span>    <span class="keyword">virtual</span> <a class="code hl_class" href="../../d2/da4/classwheels_1_1i_serial.html">iSerial</a>&amp; <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#aaec1476e75dc8e7f9639bd4fa93ec34c">evtClose</a>( std::function&lt; <span class="keywordtype">void</span> (<a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a>)&gt; fun )<span class="keyword">final</span>{</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>        on_close = fun;</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>        <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span>    }</div>
</div>
<div class="foldopen" id="foldopen00128" data-start="{" data-end="}">
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="../../de/d23/classwheels_1_1linux_serial.html#a2de566243fef6baac4e160366fa1cb6a">  128</a></span>    <span class="keyword">virtual</span> <a class="code hl_class" href="../../d2/da4/classwheels_1_1i_serial.html">iSerial</a>&amp; <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a2de566243fef6baac4e160366fa1cb6a">evtSend</a>(  std::function&lt; <span class="keywordtype">void</span> (<span class="keywordtype">size_t</span> , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a>)&gt; fun )<span class="keyword">final</span>{</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>        on_send = fun;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>        <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>    }</div>
</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="../../de/d23/classwheels_1_1linux_serial.html#a7ec905c105f06ff8fb4732e0780d3c36">  132</a></span>    <span class="keyword">virtual</span> <a class="code hl_class" href="../../d2/da4/classwheels_1_1i_serial.html">iSerial</a>&amp; <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a7ec905c105f06ff8fb4732e0780d3c36">evtRecv</a>(  std::function&lt; <span class="keywordtype">void</span> (<span class="keywordtype">size_t</span> , <span class="keyword">const</span> <span class="keywordtype">char</span>* , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a>)&gt; fun )<span class="keyword">final</span>{on_recv = fun; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span>    <span class="keyword">virtual</span> <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a29a53363016957fd31b13ce4afc53215">reset</a>()final;</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>    virtual <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a29a53363016957fd31b13ce4afc53215">reset</a>( <span class="keywordtype">int</span> baud , <span class="keywordtype">int</span> char_len , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a5e585bb076d6a01c8c9cdab92e20c5ac">stop</a> s , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ab1661c3535b0ca7149121b8b00dddca0">parity</a> p , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a86e499ffc36867fed86449541837b295">flow</a> f )final;</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="../../de/d23/classwheels_1_1linux_serial.html#a41192c3d698e15dbd0e9c11427969774">  142</a></span>    virtual <span class="keywordtype">bool</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a41192c3d698e15dbd0e9c11427969774">is_open</a>()final{ <span class="keywordflow">return</span> m_is_open.load();}</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a474d5ad2e7bb59dc4a6ed1d46a80d056">run</a>( <span class="keywordtype">bool</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a474d5ad2e7bb59dc4a6ed1d46a80d056">run</a> )<span class="keyword">final</span>;</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a9394e61eb3763eb72c902a2fef68ddb2">standby</a>()final;</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="../../de/d23/classwheels_1_1linux_serial.html#ae409a2a29670472702e795ffb5048a5a">  152</a></span>    virtual native_handle_t <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#ae409a2a29670472702e795ffb5048a5a">native_handle</a>() final { <span class="keywordflow">return</span> m_fd; }</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a916cf4b6b9e105f9272ea0d7abbe4cef">OnOpen</a>( <span class="keywordtype">int</span> fd );</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a27cf617098740187e21ce1c169a7e3e6">OnRecv</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * dat , <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="../../de/d23/classwheels_1_1linux_serial.html#a6bb972a9a97bcab75f14753d425f8ebe">  170</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a6bb972a9a97bcab75f14753d425f8ebe">OnSend</a>( <span class="keywordtype">size_t</span> len , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a> e );</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#aa1a7af1da37554706069e1f83e48d50d">OnClose</a>( <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">err_code</a> e );</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>    <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#afffb89b0a3df438aa72cdcedcafe407a">updt_param</a>( <span class="keywordtype">int</span> fd , <span class="keywordtype">int</span> baud , <span class="keywordtype">int</span> char_len , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a5e585bb076d6a01c8c9cdab92e20c5ac">stop</a> s , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ab1661c3535b0ca7149121b8b00dddca0">parity</a> p , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a86e499ffc36867fed86449541837b295">flow</a> f );</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a499b01dd1f4f06f675fc3466dd7a0e39">SetBufferSize</a>( <span class="keywordtype">size_t</span> l );</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"><a class="line" href="../../de/d23/classwheels_1_1linux_serial.html#a20f30b673b005485c2fb766e1121769b">  185</a></span>    <span class="keyword">static</span> std::string <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a20f30b673b005485c2fb766e1121769b">errMsg</a>( <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">emErrCode</a>&amp; e );</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a9da03329fe9559fc6e7c12450edf0581">init_device</a>( <span class="keywordtype">int</span> fd , <span class="keywordtype">int</span> baud , <span class="keywordtype">int</span> char_len , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a5e585bb076d6a01c8c9cdab92e20c5ac">stop</a> s , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#ab1661c3535b0ca7149121b8b00dddca0">parity</a> p , <a class="code hl_enumeration" href="../../d2/da4/classwheels_1_1i_serial.html#a86e499ffc36867fed86449541837b295">flow</a> f );</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../de/d23/classwheels_1_1linux_serial.html#a6c72f97ce56567a4106d6133deed72fc">__is_ready</a>();</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span>};</div>
</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span>}</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span><span class="preprocessor">#endif </span><span class="comment">// __SERIAL_HPP__</span></div>
<div class="ttc" id="aclasswheels_1_1i_serial_html"><div class="ttname"><a href="../../d2/da4/classwheels_1_1i_serial.html">wheels::iSerial</a></div><div class="ttdef"><b>定义</b> <a href="../../d3/d9d/iserial_8hpp_source.html#l00015">iserial.hpp:16</a></div></div>
<div class="ttc" id="aclasswheels_1_1i_serial_html_a5e585bb076d6a01c8c9cdab92e20c5ac"><div class="ttname"><a href="../../d2/da4/classwheels_1_1i_serial.html#a5e585bb076d6a01c8c9cdab92e20c5ac">wheels::iSerial::stop</a></div><div class="ttdeci">stop</div><div class="ttdef"><b>定义</b> <a href="../../d3/d9d/iserial_8hpp_source.html#l00023">iserial.hpp:23</a></div></div>
<div class="ttc" id="aclasswheels_1_1i_serial_html_a86e499ffc36867fed86449541837b295"><div class="ttname"><a href="../../d2/da4/classwheels_1_1i_serial.html#a86e499ffc36867fed86449541837b295">wheels::iSerial::flow</a></div><div class="ttdeci">flow</div><div class="ttdef"><b>定义</b> <a href="../../d3/d9d/iserial_8hpp_source.html#l00025">iserial.hpp:25</a></div></div>
<div class="ttc" id="aclasswheels_1_1i_serial_html_ab1661c3535b0ca7149121b8b00dddca0"><div class="ttname"><a href="../../d2/da4/classwheels_1_1i_serial.html#ab1661c3535b0ca7149121b8b00dddca0">wheels::iSerial::parity</a></div><div class="ttdeci">parity</div><div class="ttdef"><b>定义</b> <a href="../../d3/d9d/iserial_8hpp_source.html#l00024">iserial.hpp:24</a></div></div>
<div class="ttc" id="aclasswheels_1_1i_serial_html_ac0046f5f91af625697c0474ae5084383"><div class="ttname"><a href="../../d2/da4/classwheels_1_1i_serial.html#ac0046f5f91af625697c0474ae5084383">wheels::iSerial::err_code</a></div><div class="ttdeci">err_code</div><div class="ttdef"><b>定义</b> <a href="../../d3/d9d/iserial_8hpp_source.html#l00027">iserial.hpp:27</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html">wheels::linuxSerial</a></div><div class="ttdef"><b>定义</b> <a href="#l00023">linuxSerial.hpp:24</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a20f30b673b005485c2fb766e1121769b"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a20f30b673b005485c2fb766e1121769b">wheels::linuxSerial::errMsg</a></div><div class="ttdeci">static std::string errMsg(emErrCode &amp;e)</div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a27cf617098740187e21ce1c169a7e3e6"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a27cf617098740187e21ce1c169a7e3e6">wheels::linuxSerial::OnRecv</a></div><div class="ttdeci">void OnRecv(const char *dat, size_t len)</div><div class="ttdoc">响应读取数据完成</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00189">linuxSerial.cpp:189</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a29a53363016957fd31b13ce4afc53215"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a29a53363016957fd31b13ce4afc53215">wheels::linuxSerial::reset</a></div><div class="ttdeci">virtual err_code reset() final</div><div class="ttdoc">复位串口。关闭串口重新打开</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00100">linuxSerial.cpp:100</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a2de566243fef6baac4e160366fa1cb6a"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a2de566243fef6baac4e160366fa1cb6a">wheels::linuxSerial::evtSend</a></div><div class="ttdeci">virtual iSerial &amp; evtSend(std::function&lt; void(size_t, err_code)&gt; fun) final</div><div class="ttdef"><b>定义</b> <a href="#l00128">linuxSerial.hpp:128</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a41192c3d698e15dbd0e9c11427969774"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a41192c3d698e15dbd0e9c11427969774">wheels::linuxSerial::is_open</a></div><div class="ttdeci">virtual bool is_open() final</div><div class="ttdoc">串口是否打开</div><div class="ttdef"><b>定义</b> <a href="#l00142">linuxSerial.hpp:142</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a474d5ad2e7bb59dc4a6ed1d46a80d056"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a474d5ad2e7bb59dc4a6ed1d46a80d056">wheels::linuxSerial::run</a></div><div class="ttdeci">virtual void run(bool run) final</div><div class="ttdoc">启动串口循环</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00272">linuxSerial.cpp:272</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a499b01dd1f4f06f675fc3466dd7a0e39"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a499b01dd1f4f06f675fc3466dd7a0e39">wheels::linuxSerial::SetBufferSize</a></div><div class="ttdeci">void SetBufferSize(size_t l)</div><div class="ttdoc">设置缓冲大小</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00093">linuxSerial.cpp:93</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a697fb4aa40e1b97ce273cdc56e3fdf3f"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a697fb4aa40e1b97ce273cdc56e3fdf3f">wheels::linuxSerial::linuxSerial</a></div><div class="ttdeci">linuxSerial(const std::string &amp;name)</div><div class="ttdoc">创建对象，设置窗口名称和接收到数据的时候回调响应</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00021">linuxSerial.cpp:21</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a6bb972a9a97bcab75f14753d425f8ebe"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a6bb972a9a97bcab75f14753d425f8ebe">wheels::linuxSerial::OnSend</a></div><div class="ttdeci">void OnSend(size_t len, err_code e)</div><div class="ttdoc">响应写数据完成</div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a6c72f97ce56567a4106d6133deed72fc"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a6c72f97ce56567a4106d6133deed72fc">wheels::linuxSerial::__is_ready</a></div><div class="ttdeci">bool __is_ready()</div><div class="ttdoc">调用SELECT函数检查是否数据准备好</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00249">linuxSerial.cpp:249</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a7ec905c105f06ff8fb4732e0780d3c36"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a7ec905c105f06ff8fb4732e0780d3c36">wheels::linuxSerial::evtRecv</a></div><div class="ttdeci">virtual iSerial &amp; evtRecv(std::function&lt; void(size_t, const char *, err_code)&gt; fun) final</div><div class="ttdef"><b>定义</b> <a href="#l00132">linuxSerial.hpp:132</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a9094b478b3581e0b04a163650ad2835d"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a9094b478b3581e0b04a163650ad2835d">wheels::linuxSerial::nativeHandle</a></div><div class="ttdeci">int nativeHandle()</div><div class="ttdef"><b>定义</b> <a href="#l00097">linuxSerial.hpp:97</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a916cf4b6b9e105f9272ea0d7abbe4cef"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a916cf4b6b9e105f9272ea0d7abbe4cef">wheels::linuxSerial::OnOpen</a></div><div class="ttdeci">void OnOpen(int fd)</div><div class="ttdoc">响应libuv 打开文件操作</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00176">linuxSerial.cpp:176</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a9394e61eb3763eb72c902a2fef68ddb2"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a9394e61eb3763eb72c902a2fef68ddb2">wheels::linuxSerial::standby</a></div><div class="ttdeci">virtual void standby() final</div><div class="ttdoc">结束串口消息循环</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00321">linuxSerial.cpp:321</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_a9da03329fe9559fc6e7c12450edf0581"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#a9da03329fe9559fc6e7c12450edf0581">wheels::linuxSerial::init_device</a></div><div class="ttdeci">void init_device(int fd, int baud, int char_len, stop s, parity p, flow f)</div><div class="ttdoc">初始化设备参数，试着波特率这些内容</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00171">linuxSerial.cpp:171</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_aa1a7af1da37554706069e1f83e48d50d"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#aa1a7af1da37554706069e1f83e48d50d">wheels::linuxSerial::OnClose</a></div><div class="ttdeci">void OnClose(err_code e)</div><div class="ttdoc">响应串口关闭</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00201">linuxSerial.cpp:201</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_aaa6af0628c178e3e93f502c048a1dafb"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#aaa6af0628c178e3e93f502c048a1dafb">wheels::linuxSerial::~linuxSerial</a></div><div class="ttdeci">virtual ~linuxSerial()</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00052">linuxSerial.cpp:52</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_aaec1476e75dc8e7f9639bd4fa93ec34c"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#aaec1476e75dc8e7f9639bd4fa93ec34c">wheels::linuxSerial::evtClose</a></div><div class="ttdeci">virtual iSerial &amp; evtClose(std::function&lt; void(err_code)&gt; fun) final</div><div class="ttdef"><b>定义</b> <a href="#l00124">linuxSerial.hpp:124</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_ae173022d0f2cec8917b6ef9ed6b3ed31"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#ae173022d0f2cec8917b6ef9ed6b3ed31">wheels::linuxSerial::send</a></div><div class="ttdeci">virtual err_code send(size_t len, const char *data) final</div><div class="ttdoc">发送数据。这个函数调用后立即返回，操作结果从回调中获取，因此这个函数执行返回后 并不一位置发送完成</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00209">linuxSerial.cpp:209</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_ae1eda65d5555203a3c5efbdf7c025b57"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#ae1eda65d5555203a3c5efbdf7c025b57">wheels::linuxSerial::open</a></div><div class="ttdeci">virtual err_code open(int baud, int char_len, stop s, parity p, flow f) final</div><div class="ttdoc">打开串口。</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00060">linuxSerial.cpp:60</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_ae21be7510349d6d422b101cdc7c6f536"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#ae21be7510349d6d422b101cdc7c6f536">wheels::linuxSerial::evtOpen</a></div><div class="ttdeci">virtual iSerial &amp; evtOpen(std::function&lt; void(err_code)&gt; fun) final</div><div class="ttdoc">操作事件设置操作事件</div><div class="ttdef"><b>定义</b> <a href="#l00119">linuxSerial.hpp:119</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_ae409a2a29670472702e795ffb5048a5a"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#ae409a2a29670472702e795ffb5048a5a">wheels::linuxSerial::native_handle</a></div><div class="ttdeci">virtual native_handle_t native_handle() final</div><div class="ttdoc">读取系统</div><div class="ttdef"><b>定义</b> <a href="#l00152">linuxSerial.hpp:152</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_ae7aa105c917d919cda8239f2bc0b064c"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#ae7aa105c917d919cda8239f2bc0b064c">wheels::linuxSerial::close</a></div><div class="ttdeci">virtual err_code close() final</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00221">linuxSerial.cpp:221</a></div></div>
<div class="ttc" id="aclasswheels_1_1linux_serial_html_afffb89b0a3df438aa72cdcedcafe407a"><div class="ttname"><a href="../../de/d23/classwheels_1_1linux_serial.html#afffb89b0a3df438aa72cdcedcafe407a">wheels::linuxSerial::updt_param</a></div><div class="ttdeci">static bool updt_param(int fd, int baud, int char_len, stop s, parity p, flow f)</div><div class="ttdoc">更新串口参数，这个函数主要的目的是方便RFC2217.</div><div class="ttdef"><b>定义</b> <a href="../../d9/db7/linux_serial_8cpp_source.html#l00327">linuxSerial.cpp:327</a></div></div>
<div class="ttc" id="aiserial_8hpp_html"><div class="ttname"><a href="../../d3/d9d/iserial_8hpp.html">iserial.hpp</a></div></div>
<div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="../../d8/dcc/namespacestd.html">std</a></div><div class="ttdef"><b>定义</b> <a href="../../d1/d92/mandarava_2event_8hpp_source.html#l00038">event.hpp:39</a></div></div>
<div class="ttc" id="anamespacewheels_html"><div class="ttname"><a href="../../df/d8d/namespacewheels.html">wheels</a></div><div class="ttdoc">堆栈信息读取和保存记录</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00006">ary_str.hpp:7</a></div></div>
<div class="ttc" id="atimer_8hpp_html"><div class="ttname"><a href="../../df/d05/timer_8hpp.html">timer.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
